/**
 * Created by truexinology on 16/8/19.
 */

export const health = {
    
    type: {
        //"type": "string,检测类型。1：血压，3：体温，4：脂肪，6：体重",
        blood: '1',
        temperature: '3',
        fat: '4',
        weight: '6',
    },
    
    api: {
        prefix: lf.prod ?
            'basic.prod.liefengtech.com' :
            'basic.test.liefengtech.com',
        
        //查询最近八天的健康检测数据
        queryLatestData: '/api/tvbox/healthDetect/queryLatestPartDetect', //get
        
        //查询各项检测结果详情
        queryDetail: '/api/tvbox/healthDetect/queryDetectResultDetail', //get

        //获取健康判断标准
        standard: '/api/tvbox/healthDetect/getJudgmentStandard', //get

        //发送情亲关怀消息到盒子
        sendMsg: '/api/tvbox/family/sendCareMessageToBox', //post

        //根据房号和项目id查询家庭
        loadFamily: '/api/tvbox/family/loadFamily', //get
        
        //查询家庭成员列表，内含各成员检测项和检测结果
        queryMembersDetectResult: '/api/tvbox/healthDetect/queryMembersDetectResult', //get
        
        // 查询家庭成员列表，内含各成员检测项和检测结果
        queryUserDetectResult: '/api/tvbox/healthDetect/queryUserDetectResult', //get

        //根据用户id，获取用户信息
        queryInfo: '/api/finger/user/getUserById',//post 注意这里域名是property-test

        //获取【被授权人】列表
        Recipients: '/api/finger/health/getRecipientsByGrantId',//get

        //取消健康数据授权
        cancelHealth: '/api/finger/health/cancelHealthGrant',//post

        //根据手机号码获取用户
        mobile: '/api/finger/health/getUsersByMobile',//get

        //健康数据授权
        grantHealth: '/api/finger/health/grantHealth',//post

    },
};
